package cn.frh.org.domain;

import cn.frh.basic.domain.BaseDomain;
import cn.frh.system.domain.Role;
import lombok.Data;

@Data
public class Employee extends BaseDomain {
    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    private Integer age;
    private Integer state = 1;

    //部门属性
    private Department name;
    private Long departmentId;
    private Department department;
    private Long logininfoId;
    private Shop shop;
    private Long shopId;

    //方便从中间表中为当前员工添加角色
    private Long roleId;
    private Role role;


}
